package com.heima.api.behavior;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.ArrayList;

/**
 * @author fkn
 * @description
 * @since 2024/8/21
 */
@FeignClient("leadnews-behavior")
public interface IBehaviorClient {

    @PostMapping("/like_and_unlike")
    public ResponseResult likeAndUnlike(@RequestBody ArrayList<Object> ids);
}
